home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 5961 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  797 b 

  1. Path: news.iadfw.net!usenet
  2. From: alpet@airmail.net (Adam Peterson)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Feature of spawnv()
  5. Date: Thu, 22 Feb 1996 06:34:49 GMT
  6. Organization: customer of Internet America
  7. Message-ID: <4ggrv7$343@news-f.iadfw.net>
  8. References: <4gbppb$ht@malakor.kku.ac.th>
  9. NNTP-Posting-Host: dal24-16.ppp.iadfw.net
  10. X-Newsreader: Forte Free Agent 1.0.82
  11.  
  12. terdthai@kku1.kku.ac.th (terdthai tong-un) wrote:
  13.  
  14. >How about feature of spawn function?
  15. >How difference from exec() and system() function?
  16.  
  17. Generally, exec() & system() run another program entirely.  Or program
  18. 'A' exec's and runs 'B'.  Spawn creates another copy of the current
  19. program, so 'A' spawns, then there are 2 copies of 'A' in memory.
  20. This has been my experience from Unix, never done this under Dos.
  21.  
  22. Adam
  23.  
  24.  
  25.  
  26. >--
  27.  
  28.  
  29.  
  30.